﻿using System;
using Kaiser.Infrastructure.DomainBase;

namespace Kaiser.Modules.CmsV2.Domain.Entity
{
    public class Common : EntityBase
    {
        public DateTime CommonTime { get; set; }
        public string Content { get; set; }
        public string UserFullName { get; set; }
        public Member Member { get; set; }
        public int Attitude { get; set; }

        

        public void Replay(Member member, Common common)
        {
            //todo 添加评论回复
        }

        public void Support(Member member, Common common)
        {
            //todo 对评论进行支持操作
        }

        internal void Add(Member member, Article.Article article)
        {
            //todo 添加评论
        }
    }
}
